package com.zhnc.dangjianpingtaiapp.action;

import android.view.View;

/**
 * @author wangdh
 * @time 2019/4/4 13:40
 * @describe
 */
public class ActionButton {
    private String name;
    private int src;
    private View.OnClickListener listener;

    public ActionButton(String msg, int num, View.OnClickListener listener) {
        this.name = msg;
        this.src = num;
        this.listener = listener;

    }

    public ActionButton(String msg, int num) {
        this.name = msg;
        this.src = num;
    }

    public String getName() {
        return name;
    }

    public int getSrc() {
        return src;
    }

    public View.OnClickListener getListener() {
        return listener;
    }

    public void setListener(View.OnClickListener listener) {
        this.listener = listener;
    }


}
